package org.gikolet.framework.platform.javase.internal;

import java.awt.Component;
import java.awt.Label;
import java.awt.event.ComponentEvent;
import java.awt.event.ComponentListener;

public class Test {

    public static void main(String[] args) {
	Component comp = new Label();
	comp.addComponentListener(new ComponentListener() {

	    @Override
	    public void componentHidden(ComponentEvent e) {
		System.out.println("componentHidden");
	    }

	    @Override
	    public void componentMoved(ComponentEvent e) {
		System.out.println("componentMoved");
	    }

	    @Override
	    public void componentResized(ComponentEvent e) {
		System.out.println("componentResized");
	    }

	    @Override
	    public void componentShown(ComponentEvent e) {
		System.out.println("componentShown");
	    }
	});
	comp.setVisible(false);

	System.out.println("comp");
    }
}
